import { Inject, Provide } from '@midwayjs/core';
import { BaseService } from '@cool-midway/core';
import { InjectEntityModel } from '@midwayjs/typeorm';
import { Repository } from 'typeorm';
import { BannerCategoryEntity } from '../entity/category';

/**
 * 轮播图分类
 */
@Provide()
export class BannerCategoryService extends BaseService {
  @InjectEntityModel(BannerCategoryEntity)
  bannerCategoryEntity: Repository<BannerCategoryEntity>;
}
